valence electrons and the periodic table